import request from '/@/utils/request';

/**
 * OIDC 系统统计 API
 */

// 获取系统统计信息
export function getStatistics() {
  return request({
    url: '/oidc/admin/statistics',
    method: 'get',
  });
}

// 获取活动趋势数据
export function getActivityTrend(params: any) {
  return request({
    url: '/oidc/admin/statistics/activity-trend',
    method: 'get',
    params,
  });
}